
public class SudokuSolver {
	public static void main(String[] args) {
		
		int[][] sudoku = new int[9][9];
		for (int i = 0; i < 9; i++) {
			for (int j = 0; j < 9; j++) {
				sudoku[i][j] = 0;
			}
		}
		
		sudoku[0][0] = 5;
		sudoku[0][1] = 3;
		sudoku[0][4] = 7;
		sudoku[1][0] = 6;
		sudoku[1][3] = 1;
		sudoku[1][4] = 9;
		sudoku[1][5] = 5;
		sudoku[2][1] = 9;
		sudoku[2][2] = 8;
		sudoku[2][7] = 6;
		sudoku[3][0] = 8;
		sudoku[3][4] = 6;
		sudoku[3][8] = 3;
		sudoku[4][0] = 4;
		sudoku[4][3] = 8;
		sudoku[4][5] = 3;
		sudoku[4][8] = 1;
		
		Model m = new Model(sudoku);
		Runnable r = new Controller(m);
		View v = new View(m);
		m.attach(v);
		v.setSize(400, 400);
		
		Thread t = new Thread(r);
		t.start();
		
	}
}
